<?php 
class resourcesObj 
{
	var $id;
	var $keyCode;
	var $keyValueVN;
	var $keyValueEN;
	var $otherFields;

	public function TableName() { return "resources";}
	public function idFieldName() { return "id";}
	public function keyCodeFieldName() { return "keyCode";}
	public function keyValueVNFieldName() { return "keyValueVN";}
	public function keyValueENFieldName() { return "keyValueEN";}

	function resourcesObj ($pid="",$pkeyCode="",$pkeyValueVN="",$pkeyValueEN="") {

		$this->id = $pid;
		$this->keyCode = $pkeyCode;
		$this->keyValueVN = $pkeyValueVN;
		$this->keyValueEN = $pkeyValueEN;
	}

} 
?>